import request from '@/utils/request'
// gasManage:defaultSetting:companyInfo:list
export function searchManufacturerApi(query) {
    return request({
        url: '/meter/manufacturer/list',
        method: 'get',
        params: query
    })
}
// gasManage:defaultSetting:companyInfo:list
export function searchManufacturerByIdApi(id){
    return request({
        url: '/meter/manufacturer/'+id,
        method: 'get'
    })
}
// gasManage:defaultSetting:companyInfo:edit
export function editManufacturerApi(data){
    return request({
        url: '/meter/manufacturer/edit',
        method: 'put',
        data: data
    })
}
// gasManage:defaultSetting:companyInfo:add
export function addManufacturerApi(data) {
    return request({
        url: '/meter/manufacturer/insert',
        method: 'post',
        data: data
    })
}
// gasManage:defaultSetting:companyInfo:validate
export function examineManufacturerApi(data) {
    return request({
        url: '/meter/manufacturerReview/insert',
        method: 'post',
        data: data
    })
}
// gasManage:defaultSetting:companyInfo:devService
export function updateAppIdAndKeyApi(data) {
    return request({
        url: '/meter/manufacturer/updateAppIdAndKey',
        method: 'post',
        data: data
    })
}
// gasManage:defaultSetting:companyInfo:history
export function searchExamineListApi(query) {
    return request({
        url: '/meter/manufacturerReview/list',
        method: 'get',
        params: query
    })
}